
/** @type {import('next').NextConfig} */
const nextConfig = {
  // output:'export',
  basePath: '/backend',
  reactStrictMode: false,
   async rewrites() {
    return [
      {
        source: '/:path*',
        destination: 'https://www.xsjxkt.com:446/:path*', // 替换为你的接口域名
        basePath: false,
      },
    ];
  }
};

export default nextConfig;